package com.otp.service;

import com.otp.pojo.entity.User;
import com.otp.pojo.request.user.*;

import java.util.List;

public interface UserService {
    User login(UserLoginRequest request);
    User register(UserRegisterRequest request);
    User update(UserUpdateRequest request);
    Void delete(Long id);
    User getById(Long id);
    List<User> getAll();
}